package com.ruoyi.plus.pub.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 系统轮播图对象 pub_banner
 *
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("pub_banner")
public class PubBanner extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id")
    private Long id;

    /** 系统类型 */
    @Excel(name = "系统类型")
    @TableField(value = "system_type")
    private String systemType;

    /** 名称 */
    @Excel(name = "名称")
    @TableField(value = "name")
    private String name;

    /** 位置 */
    @Excel(name = "位置key")
    @TableField(value = "position")
    private String position;

    /** 图片地址 */
    @Excel(name = "图片地址")
    @TableField(value = "url")
    private String url;

    /** 链接 */
    @Excel(name = "链接")
    @TableField(value = "link_url")
    private String linkUrl;

    /** 排序 */
    @Excel(name = "排序")
    @TableField(value = "order_num")
    private String orderNum;

    /** 状态 */
    @Excel(name = "状态")
    @TableField(value = "status")
    private String status;

}
